import request from '@/utils/request'

/**
 * 配置表分页查询
 * @param {查询条件} data
 */
export function listCksCMMDetail(query) {
  return request({
    url: 'business/CksCMMDetail/list',
    method: 'get',
    params: query
  })
}
/**
 * 配置表分页查询
 * @param {查询条件} data
 */
export function listCksCMMParam(query) {
  return request({
    url: 'business/CksCMMDetail/paramlist',
    method: 'post',
    data: query
  })
}
/**
 * 配置表分页查询
 * @param {查询条件} data
 */
export function listCksCMMItem(query) {
  return request({
    url: 'business/CksCMMDetail/itemList',
    method: 'post',
    data: query
  })
}

/**
 * 配置表分页查询
 * @param {查询条件} data
 */
export function openFile(query) {
  return request({
    url: 'business/CksCMMDetail/open',
    method: 'post',
    responseType: 'blob',
    data: query
  })
}
